(function(){"use strict";BX.namespace("BX.Landing.MediaService");BX.Landing.MediaService.GoogleMapsPlace=function(e,a){BX.Landing.MediaService.GoogleMapsSearch.apply(this,arguments);this.matcher=BX.Landing.Utils.Matchers.googleMapsPlace;this.embedURL=function(e){var a="//maps.google."+e[2]+"/?ll="+(e[9]?e[9]+"&z="+Math.floor(e[10])+(e[12]?e[12].replace(/^\//,"&"):""):e[12])+"&output="+(e[12]&&e[12].indexOf("layer=c")>0?"svembed":"embed");if(e[8]){a="//maps.google."+e[2]+"/maps?q="+decodeURI(decodeURI(e[8]))+"&output=embed"}return a}};BX.Landing.MediaService.GoogleMapsPlace.validate=function(e){return BX.Landing.Utils.Matchers.googleMapsPlace.test(e)};BX.Landing.MediaService.GoogleMapsPlace.prototype={constructor:BX.Landing.MediaService.GoogleMapsPlace,__proto__:BX.Landing.MediaService.GoogleMapsSearch.prototype}})();